package com.hancai.service;

import com.github.pagehelper.PageInfo;
import com.hancai.model.TRecord;
import com.hancai.query.RecordQuery;

import java.util.List;

// Easy Code 插件（Idea插件生成  controller 、service、dao）

/**
 * @author super
 */
public interface RecordService {

    PageInfo<TRecord> getRecordByPage(Integer current, RecordQuery recordQuery);

    int saveRecord(RecordQuery recordQuery);

    TRecord getRecordById(Integer id);

    int updateRecord(RecordQuery recordQuery);

    int delRecordById(Integer id);

    int batchDelRecordIds(List<String> idsList);
}
